package com.itheima.domain.system;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 部门信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dept implements Serializable {
    /**ID*/
    private String id;
    /**部门名*/
    private String deptName;
    /**上级部门ID*/
    private String parentId;
    /**部门状态，1代表启用,0代表停用*/
    private Integer state;

    /**上级部门*/
    private Dept parent;
}
